Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github actions creation to update copyright #1145

Open
wants to merge 5 commits into
base: postreleasefix/114
Choose a base branch
from

Conversation

olaaustine
Copy link
Contributor

No description provided.

@likhitha-surapaneni likhitha-surapaneni self-assigned this Jan 15, 2025
Copy link
Contributor

@likhitha-surapaneni likhitha-surapaneni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this feature @olaaustine , this looks good. Can we try running a successful action in the forked branch with different cron job settings if possible?

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr create -B main -H $branch_name --title "Update Copyright year" --body 'Created by Github action'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here, base branch is main as opposed to postreleasefix/xx as this can be tricky to code.
One way is to take the latest postreleasefix/xx from the existing branches but not sure how easy that would be. This looks good for the first iteration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants